package com.chinacoal.hr.levelapi.entity;

import lombok.Data;

import java.util.List;

/**
 * @author: YunTao.Li
 * @create: 2019-12-23 13:19
 * @description:
 **/
@Data
public class EmployeeVO {
    public String userStatus;
    public String userStatusId;
    public String userName;
    public String positionStr;
    public List<OrgPositionVO> positions;
    public String empName;
    public String empCode;
    public String managerOrgName;
    public String managerOrgCode;
    public String orgIdList;
    public String orgCode;
    public String orgName;

    public List<OrganizationVO> organizationVOS;

    public String toString() {
        List<OrganizationVO> vos = this.getOrganizationVOS();
        int orgsize = vos == null ? 0 : vos.size();
        for (int i = 0; i < orgsize; i++) {
            OrganizationVO org = vos.get(i);
            System.out.println(org.toString());
        }
        return "userStatus:" + this.getUserStatus() + "userName:" + this.getUserName() + "empName :" + this.getEmpName() + "empCode:" + this.getEmpCode() + "orgIdList:" + this.getOrgIdList() + "orgName:" + this.getOrgName() + "managerOrgName :" + this.getManagerOrgName() + "managerOrgCode:" + this.getManagerOrgCode();

    }
}
